import { Card } from "element-react";
import styles from "./index.module.less";

interface SnapshotProps {
  src: string
}

const Snapshot: React.FC<SnapshotProps> = ({ src }) => {
  return (
    <Card
      className={styles.snapshot}
    >
      <img src={src} width="100%" alt="snapshot" />
    </Card>
  )
}

export default Snapshot